<template>
  <div>
    <v_header></v_header>
    <bookinfo :bid="bid"></bookinfo>
  </div>
</template>

<script>
import v_header from "@/components/header.vue";
import bookinfo from "@/components/bookinfoComponents.vue";
export default {
  created: function() {
    console.log(this.$route.params.bid);
    this.bid = this.$route.params.bid;
  },
  data() {
    return {
      bid: ""
    };
  },
  components: {
    v_header: v_header,
    bookinfo: bookinfo
  }
};
</script>

<style></style>
